package com.se2.antiqueexhibition.Mapper;


import com.se2.antiqueexhibition.pojo.AdminActivity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminActivityMapper {


      void insert(AdminActivity adminActivity);

      List<AdminActivity> selectAll() ;



     void update(AdminActivity adminActivity);

    void delete(int id) ;

    AdminActivity getAdminActivityById(int id);
    List<AdminActivity> getAdminActivities();
    void updateStatus(int id,int status);

    AdminActivity selectById();
}
